﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DiscoveryLogic.Analytics.DataObjects.Measures
{
    public class CommunityMeasure
    {
        private int _CommunityID;
        /// <summary></summary>
        public int CommunityID
        {
            get
            {
                return this._CommunityID;
            }
            set
            {
                this._CommunityID = value;
            }
        }

        private List<EntityBase> _Entities;
        /// <summary></summary>
        public List<EntityBase> Entities
        {
            get
            {
                return this._Entities;
            }
            set
            {
                this._Entities = value;
            }
        }

        private double _Density;
        /// <summary></summary>
        public double Density
        {
            get
            {
                return this._Density;
            }
            set
            {
                this._Density = value;
            }
        }

        private int _Degree;
        /// <summary></summary>
        public int Degree
        {
            get
            {
                return this._Degree;
            }
            set
            {
                this._Degree = value;
            }
        }

        private int _InDegree;
        /// <summary></summary>
        public int InDegree
        {
            get
            {
                return this._InDegree;
            }
            set
            {
                this._InDegree = value;
            }
        }

        private int _OutDegree;
        /// <summary></summary>
        public int OutDegree
        {
            get
            {
                return this._OutDegree;
            }
            set
            {
                this._OutDegree = value;
            }
        }

        private double _Coefficient;
        /// <summary></summary>
        public double Coefficient
        {
            get
            {
                return this._Coefficient;
            }
            set
            {
                this._Coefficient = value;
            }
        }

        public CommunityMeasure()
        {
            this._CommunityID = 0;
            this._Entities=new List<EntityBase>();
            this._Density = 0;
            this.Degree = 0;
            this._InDegree = 0;
            this._OutDegree = 0;
            this._Coefficient = 0;
        }
    }
}
